﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DryWCS.Model.PLCModel
{
   public class StackerWriteModel
    {
        [PLCAttribute(Type = "Int16", StartPosition = 0, BitPosition = 0, Size = 2, Describe = "任务类型")]
        public static Int16 Signal { get; set; }


        [PLCAttribute(Type = "int", StartPosition = 2, BitPosition = 0, Size = 4, Describe = "当前任务ID")]
        public static int TaskID { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 6, BitPosition = 0, Size = 2, Describe = "取货设备ID")]
        public static Int16 StartMachineID { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 8, BitPosition = 0, Size = 2, Describe = "取货-排")]
        public static Int16 StartLineNo { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 10, BitPosition = 0, Size = 2, Describe = "取货-层")]
        public static Int16 StartLayerNo { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 12, BitPosition = 0, Size = 2, Describe = "取货-列")]
        public static Int16 StartColNo { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 14, BitPosition = 0, Size = 2, Describe = "放货设备ID")]
        public static Int16 EndMachineID { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 16, BitPosition = 0, Size = 2, Describe = "放货-排")]
        public static Int16 EndLineNo { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 18, BitPosition = 0, Size = 2, Describe = "放货-层")]
        public static Int16 EndLayerNo { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 20, BitPosition = 0, Size = 2, Describe = "放货-列")]
        public static Int16 EndColNo { get; set; }


        [PLCAttribute(Type = "Int16", StartPosition = 22, BitPosition = 0, Size = 2, Describe = "任务执行结束反馈")]
        public static Int16 TaskFeedback { get; set; }



    }
}
